
const {con,DesData} = require('./common.js');

async function getAreas(){
  const res = new ResData();
  const sql = 'select * from areas';
  const [rows] = await con.execute();
  return res;
}

async function addAreas(){

}

async function updataAreas(){

}

async function delAreas(){

}

module.exports = {
  getAeras,
  addAreas,
  updataAreas,
  delAreas
}
